package com.newtouch.bxzs.business.train.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 知识库新增/修改vo
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/11 11:22</td>
 * <td>lingshouyi</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author lingshouyi
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel(value = "创建知识库所用VO")
public class NewKnowledgeBaseVO implements Serializable {

	private static final long serialVersionUID = -6786259671062328969L;

	@ApiModelProperty(value = "知识库id")
	private String knowledgeBaseId;

	@ApiModelProperty(value = "知识库标题")
	private String knowledgeBaseTitle;

	@ApiModelProperty(value = "知识库分类:1,推荐 2,产品 3,理念 4,保险圈 5,健康 6,谈资")
	private String knowledgeBaseType;

	@ApiModelProperty(value = "知识库内容")
	private String knowledgeBaseContent;

	@ApiModelProperty(value = "发布时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date publishTime;

	@ApiModelProperty(value = "撤销时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date revokeTime;

	@ApiModelProperty(value = "按钮类型:1暂存,2发布,3撤销")
	private String buttonType;
}
